package com.gitee.wsl.compose.ui.picker.icon.suggest.data


import com.gitee.wsl.compose.ui.picker.icon.Emojifier.Config.EMOJI_FILE
import com.gitee.wsl.compose.ui.picker.icon.suggest.model.EmojiModel
import com.gitee.wsl.compose.ui.picker.icon.suggest.model.EmojiSuggest

/*
class DefaultEmojiSuggestStorage(
    private val context: Context,
    private val gson: Gson
) : EmojiSuggestStorage {

    override suspend fun fetch(): List<EmojiSuggest> {
        val json = context.getJsonDataFromAsset(EMOJI_FILE)
        return if (json != null) {
            gson.fromJson(json, Array<EmojiModel>::class.java).toList()
        } else {
            emptyList()
        }
    }
}*/
